<template>
  <div class="additional">
    <iframe :src="url" width="100%" height="100%" frameborder="0"></iframe>
  </div>
</template>

<script>
export default {
  props: ["url"],
  data() {
    return {
      flow: ""
    };
  },
  created() {
    // this.$nextTick(() => {
    //   var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
    //   if (isiOS) {
    //     this.flow = "auto";
    //   } else {
    //     this.flow = "hidden";
    //   }
    // });
  }
};
</script>

<style lang="less" rel=stylesheet/less scoped="scoped">
.additional {
  // overflow: hidden;
  height: 100%;
}
.additional img {
  width: 100%;
  height: auto;
}
</style>
